<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>easygui</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th bgcolor="#70b0f0" class="navbar-select"
          >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Module&nbsp;easygui
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="easygui-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module easygui</h1><p class="nomargin-top"><span class="codelink"><a href="easygui-pysrc.html">source&nbsp;code</a></span></p>
<hr />
<div class="fields">      <p><strong>Version:</strong>
        0.96(2010-08-29)
      </p>
      <strong>Notes:</strong>
      <ul class="nomargin-top">
        <li>
        ABOUT EASYGUI
        <p>EasyGui provides an easy-to-use interface for simple GUI 
        interaction with a user.  It does not require the programmer to 
        know anything about tkinter, frames, widgets, callbacks or lambda.
        All GUI interactions are invoked by simple function calls that 
        return results.</p>
        </li>
        <li>
        WARNING about using EasyGui with IDLE
        <p>You may encounter problems using IDLE to run programs that use 
        EasyGui. Try it and find out.  EasyGui is a collection of Tkinter 
        routines that run their own event loops.  IDLE is also a Tkinter 
        application, with its own event loop.  The two may conflict, with 
        unpredictable results. If you find that you have problems, try 
        running your EasyGui program outside of IDLE.</p>
        <p>Note that EasyGui requires Tk release 8.0 or greater.</p>
        </li>
        <li>
        LICENSE INFORMATION
        <p>EasyGui version 0.96</p>
        <p>Copyright (c) 2010, Stephen Raymond Ferg</p>
        <p>All rights reserved.</p>
        <p>Redistribution and use in source and binary forms, with or 
        without modification, are permitted provided that the following 
        conditions are met:</p>
        <ol start="1">
          <li>
            Redistributions of source code must retain the above copyright 
            notice, this list of conditions and the following disclaimer.
          </li>
          <li>
            Redistributions in binary form must reproduce the above 
            copyright notice, this list of conditions and the following 
            disclaimer in the documentation and/or other materials provided
            with the distribution.
          </li>
          <li>
            The name of the author may not be used to endorse or promote 
            products derived from this software without specific prior 
            written permission.
          </li>
        </ol>
        <p>THIS SOFTWARE IS PROVIDED BY THE AUTHOR &quot;AS IS&quot; AND 
        ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 
        THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
        PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE 
        LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
        CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
        OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 
        BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
        LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
        (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 
        USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 
        DAMAGE.</p>
        </li>
        <li>
        ABOUT THE EASYGUI LICENSE
        <p>This license is what is generally known as the &quot;modified 
        BSD license&quot;, aka &quot;revised BSD&quot;, &quot;new 
        BSD&quot;, &quot;3-clause BSD&quot;. See 
        http://www.opensource.org/licenses/bsd-license.php</p>
        <p>This license is GPL-compatible. See 
        http://en.wikipedia.org/wiki/License_compatibility See 
        http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses</p>
        <p>The BSD License is less restrictive than GPL. It allows software
        released under the license to be incorporated into proprietary 
        products. Works based on the software may be released under a 
        proprietary license or as closed source software. 
        http://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22New_BSD_License.22.29</p>
        </li>
      </ul>
</div><!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="easygui.FileTypeObject-class.html" class="summary-name" onclick="show_private();">FileTypeObject</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="easygui.EgStore-class.html" class="summary-name">EgStore</a><br />
      A class to support persistent storage.
    </td>
  </tr>
</table>
<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="write"></a><span class="summary-sig-name">write</span>(<span class="summary-sig-arg">*args</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#write">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="writeln"></a><span class="summary-sig-name">writeln</span>(<span class="summary-sig-arg">*args</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#writeln">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="say"></a><span class="summary-sig-name">say</span>(<span class="summary-sig-arg">*args</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#writeln">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="dq"></a><span class="summary-sig-name">dq</span>(<span class="summary-sig-arg">s</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#dq">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#ynbox" class="summary-sig-name">ynbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Shall I continue?</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">choices</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Yes</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">No</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>)</span><br />
      Display a msgbox with choices of Yes and No.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#ynbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#ccbox" class="summary-sig-name">ccbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Shall I continue?</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">choices</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Continue</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Cancel</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>)</span><br />
      Display a msgbox with choices of Continue and Cancel.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#ccbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#boolbox" class="summary-sig-name">boolbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Shall I continue?</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">choices</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Yes</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">No</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>)</span><br />
      Display a boolean msgbox.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#boolbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#indexbox" class="summary-sig-name">indexbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Shall I continue?</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">choices</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Yes</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">No</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>)</span><br />
      Display a buttonbox with the specified choices.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#indexbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="msgbox"></a><span class="summary-sig-name">msgbox</span>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">(Your message goes here)</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">ok_button</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">OK</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">root</span>=<span class="summary-sig-default">None</span>)</span><br />
      Display a messagebox</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#msgbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#buttonbox" class="summary-sig-name">buttonbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">choices</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Button1</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Button2</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Button3</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">root</span>=<span class="summary-sig-default">None</span>)</span><br />
      Display a msg, a title, and a set of buttons.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#buttonbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#integerbox" class="summary-sig-name">integerbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">default</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">lowerbound</span>=<span class="summary-sig-default">0</span>,
        <span class="summary-sig-arg">upperbound</span>=<span class="summary-sig-default">99</span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">root</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">**invalidKeywordArguments</span>)</span><br />
      Show a box in which a user can enter an integer.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#integerbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#multenterbox" class="summary-sig-name">multenterbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Fill in values for the fields.</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">fields</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">values</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>)</span><br />
      Show screen with multiple data entry fields.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#multenterbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#multpasswordbox" class="summary-sig-name">multpasswordbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Fill in values for the fields.</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">fields</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">values</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>)</span><br />
      Same interface as multenterbox.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#multpasswordbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="bindArrows"></a><span class="summary-sig-name">bindArrows</span>(<span class="summary-sig-arg">widget</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#bindArrows">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="tabRight"></a><span class="summary-sig-name">tabRight</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#tabRight">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="tabLeft"></a><span class="summary-sig-name">tabLeft</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#tabLeft">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__multfillablebox"></a><span class="summary-sig-name">__multfillablebox</span>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Fill in values for the fields.</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">fields</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">values</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">mask</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__multfillablebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__multenterboxGetText"></a><span class="summary-sig-name">__multenterboxGetText</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__multenterboxGetText">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__multenterboxCancel"></a><span class="summary-sig-name">__multenterboxCancel</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__multenterboxCancel">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#enterbox" class="summary-sig-name">enterbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Enter something.</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">default</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">strip</span>=<span class="summary-sig-default">True</span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">root</span>=<span class="summary-sig-default">None</span>)</span><br />
      Show a box in which a user can enter some text.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#enterbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#passwordbox" class="summary-sig-name">passwordbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Enter your password.</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">default</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">root</span>=<span class="summary-sig-default">None</span>)</span><br />
      Show a box in which a user can enter a password.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#passwordbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#__fillablebox" class="summary-sig-name" onclick="show_private();">__fillablebox</a>(<span class="summary-sig-arg">msg</span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">default</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">mask</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">image</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">root</span>=<span class="summary-sig-default">None</span>)</span><br />
      Show a box in which a user can enter some text.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__fillablebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__enterboxGetText"></a><span class="summary-sig-name">__enterboxGetText</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__enterboxGetText">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__enterboxRestore"></a><span class="summary-sig-name">__enterboxRestore</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__enterboxRestore">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__enterboxCancel"></a><span class="summary-sig-name">__enterboxCancel</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__enterboxCancel">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="denyWindowManagerClose"></a><span class="summary-sig-name">denyWindowManagerClose</span>()</span><br />
      don't allow WindowManager close</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#denyWindowManagerClose">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#multchoicebox" class="summary-sig-name">multchoicebox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Pick as many items as you like.</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">choices</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">**kwargs</span>)</span><br />
      Present the user with a list of choices.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#multchoicebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#choicebox" class="summary-sig-name">choicebox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">Pick something.</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">choices</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>)</span><br />
      Present the user with a list of choices.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#choicebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__choicebox"></a><span class="summary-sig-name">__choicebox</span>(<span class="summary-sig-arg">msg</span>,
        <span class="summary-sig-arg">title</span>,
        <span class="summary-sig-arg">choices</span>)</span><br />
      internal routine to support choicebox() and multchoicebox()</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__choicebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__choiceboxGetChoice"></a><span class="summary-sig-name">__choiceboxGetChoice</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__choiceboxGetChoice">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__choiceboxSelectAll"></a><span class="summary-sig-name">__choiceboxSelectAll</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__choiceboxSelectAll">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__choiceboxClearAll"></a><span class="summary-sig-name">__choiceboxClearAll</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__choiceboxClearAll">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__choiceboxCancel"></a><span class="summary-sig-name">__choiceboxCancel</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__choiceboxCancel">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="KeyboardListener"></a><span class="summary-sig-name">KeyboardListener</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#KeyboardListener">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="exception_format"></a><span class="summary-sig-name">exception_format</span>()</span><br />
      Convert exception info into a string suitable for display.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#exception_format">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#exceptionbox" class="summary-sig-name">exceptionbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default">None</span>)</span><br />
      Display a box that gives information about an exception that has just
      been raised.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#exceptionbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#codebox" class="summary-sig-name">codebox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">text</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span><br />
      Display some text in a monospaced font, with no line wrapping.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#codebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#textbox" class="summary-sig-name">textbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">text</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">codebox</span>=<span class="summary-sig-default">0</span>)</span><br />
      Display some text in a proportional font with line wrapping at word 
      breaks.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#textbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__textboxOK"></a><span class="summary-sig-name">__textboxOK</span>(<span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__textboxOK">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#diropenbox" class="summary-sig-name">diropenbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">default</span>=<span class="summary-sig-default">None</span>)</span><br />
      A dialog to get a directory name.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#diropenbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getFileDialogTitle"></a><span class="summary-sig-name">getFileDialogTitle</span>(<span class="summary-sig-arg">msg</span>,
        <span class="summary-sig-arg">title</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#getFileDialogTitle">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">string or None</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#fileopenbox" class="summary-sig-name">fileopenbox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">default</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">*</code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">filetypes</span>=<span class="summary-sig-default">None</span>)</span><br />
      A dialog to get a file name.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#fileopenbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="easygui-module.html#filesavebox" class="summary-sig-name">filesavebox</a>(<span class="summary-sig-arg">msg</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">title</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">default</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">filetypes</span>=<span class="summary-sig-default">None</span>)</span><br />
      A file to get the name of a file to save.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#filesavebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="fileboxSetup"></a><span class="summary-sig-name">fileboxSetup</span>(<span class="summary-sig-arg">default</span>,
        <span class="summary-sig-arg">filetypes</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#fileboxSetup">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__buttonEvent"></a><span class="summary-sig-name">__buttonEvent</span>(<span class="summary-sig-arg">event</span>)</span><br />
      Handle an event that is generated by a person clicking a button.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__buttonEvent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__put_buttons_in_buttonframe"></a><span class="summary-sig-name">__put_buttons_in_buttonframe</span>(<span class="summary-sig-arg">choices</span>)</span><br />
      Put the buttons in the buttons frame</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#__put_buttons_in_buttonframe">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="egdemo"></a><span class="summary-sig-name">egdemo</span>()</span><br />
      Run the EasyGui demo.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#egdemo">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_demo_textbox"></a><span class="summary-sig-name">_demo_textbox</span>(<span class="summary-sig-arg">reply</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#_demo_textbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_demo_codebox"></a><span class="summary-sig-name">_demo_codebox</span>(<span class="summary-sig-arg">reply</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#_demo_codebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_demo_buttonbox_with_image"></a><span class="summary-sig-name">_demo_buttonbox_with_image</span>()</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#_demo_buttonbox_with_image">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_demo_help"></a><span class="summary-sig-name">_demo_help</span>()</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#_demo_help">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_demo_filesavebox"></a><span class="summary-sig-name">_demo_filesavebox</span>()</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#_demo_filesavebox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_demo_diropenbox"></a><span class="summary-sig-name">_demo_diropenbox</span>()</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#_demo_diropenbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_demo_fileopenbox"></a><span class="summary-sig-name">_demo_fileopenbox</span>()</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#_demo_fileopenbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_dummy"></a><span class="summary-sig-name">_dummy</span>()</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#_dummy">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="abouteasygui"></a><span class="summary-sig-name">abouteasygui</span>()</span><br />
      shows the easygui revision history</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="easygui-pysrc.html#abouteasygui">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="egversion"></a><span class="summary-name">egversion</span> = <code title="'0.96(2010-08-29)'"><code class="variable-quote">'</code><code class="variable-string">0.96(2010-08-29)</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="runningPython26"></a><span class="summary-name">runningPython26</span> = <code title="True">True</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="runningPython3"></a><span class="summary-name">runningPython3</span> = <code title="False">False</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="PILisLoaded"></a><span class="summary-name">PILisLoaded</span> = <code title="True">True</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="stars"></a><span class="summary-name">stars</span> = <code title="&quot;*&quot;* 75">&quot;*&quot;* 75</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="rootWindowPosition"></a><span class="summary-name">rootWindowPosition</span> = <code title="'+300+200'"><code class="variable-quote">'</code><code class="variable-string">+300+200</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="PROPORTIONAL_FONT_FAMILY"></a><span class="summary-name">PROPORTIONAL_FONT_FAMILY</span> = <code title="('MS', 'Sans', 'Serif')"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">MS</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Sans</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Serif</code><code class="variable-quote">'</code><code class="variable-group">)</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="MONOSPACE_FONT_FAMILY"></a><span class="summary-name">MONOSPACE_FONT_FAMILY</span> = <code title="'Courier'"><code class="variable-quote">'</code><code class="variable-string">Courier</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="PROPORTIONAL_FONT_SIZE"></a><span class="summary-name">PROPORTIONAL_FONT_SIZE</span> = <code title="10">10</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="MONOSPACE_FONT_SIZE"></a><span class="summary-name">MONOSPACE_FONT_SIZE</span> = <code title="9">9</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="TEXT_ENTRY_FONT_SIZE"></a><span class="summary-name">TEXT_ENTRY_FONT_SIZE</span> = <code title="12">12</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="STANDARD_SELECTION_EVENTS"></a><span class="summary-name">STANDARD_SELECTION_EVENTS</span> = <code title="['Return', 'Button-1', 'space']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">Return</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Button-1</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">space</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__choiceboxMultipleSelect"></a><span class="summary-name">__choiceboxMultipleSelect</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__widgetTexts"></a><span class="summary-name">__widgetTexts</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__replyButtonText"></a><span class="summary-name">__replyButtonText</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__choiceboxResults"></a><span class="summary-name">__choiceboxResults</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__firstWidget"></a><span class="summary-name">__firstWidget</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__enterboxText"></a><span class="summary-name">__enterboxText</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__enterboxDefaultText"></a><span class="summary-name">__enterboxDefaultText</span> = <code title="''"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__multenterboxText"></a><span class="summary-name">__multenterboxText</span> = <code title="''"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="choiceboxChoices"></a><span class="summary-name">choiceboxChoices</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="choiceboxWidget"></a><span class="summary-name">choiceboxWidget</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="entryWidget"></a><span class="summary-name">entryWidget</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="boxRoot"></a><span class="summary-name">boxRoot</span> = <code title="None">None</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="easygui-module.html#ImageErrorMsg" class="summary-name" onclick="show_private();">ImageErrorMsg</a> = <code title="'''

---------------------------------------------
Error: %s
%s'''"><code class="variable-quote">'</code><code class="variable-string">\n\n-----------------------------------------</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="easygui-module.html#EASYGUI_ABOUT_INFORMATION" class="summary-name" onclick="show_private();">EASYGUI_ABOUT_INFORMATION</a> = <code title="'''
======================================================================\
==
0.96(2010-08-29)
======================================================================\
==
This version fixes some problems with version independence.

..."><code class="variable-quote">'</code><code class="variable-string">\n===============================</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="None">None</code>
    </td>
  </tr>
</table>
<!-- ==================== FUNCTION DETAILS ==================== -->
<a name="section-FunctionDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Function Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-FunctionDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="ynbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">ynbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Shall I continue?</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">choices</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Yes</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">No</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#ynbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Display a msgbox with choices of Yes and No.</p>
  <p>The default is &quot;Yes&quot;.</p>
  <p>The returned value is calculated this way:</p>
<pre class="literalblock">
       if the first choice (&quot;Yes&quot;) is chosen, or if the dialog is cancelled:
               return 1
       else:
               return 0
</pre>
  <p>If invoked without a msg argument, displays a generic request for a 
  confirmation that the user wishes to continue.  So it can be used this 
  way:</p>
<pre class="literalblock">
       if ynbox(): pass # continue
       else: sys.exit(0)  # exit the program
</pre>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>msg</code></strong> - the msg to be displayed.</li>
        <li><strong class="pname"><code>title</code></strong> - the window title</li>
        <li><strong class="pname"><code>choices</code></strong> - a list or tuple of the choices to be displayed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="ccbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">ccbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Shall I continue?</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">choices</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Continue</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Cancel</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#ccbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Display a msgbox with choices of Continue and Cancel.</p>
  <p>The default is &quot;Continue&quot;.</p>
  <p>The returned value is calculated this way:</p>
<pre class="literalblock">
       if the first choice (&quot;Continue&quot;) is chosen, or if the dialog is cancelled:
               return 1
       else:
               return 0
</pre>
  <p>If invoked without a msg argument, displays a generic request for a 
  confirmation that the user wishes to continue.  So it can be used this 
  way:</p>
<pre class="literalblock">
       if ccbox():
               pass # continue
       else:
               sys.exit(0)  # exit the program
</pre>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>msg</code></strong> - the msg to be displayed.</li>
        <li><strong class="pname"><code>title</code></strong> - the window title</li>
        <li><strong class="pname"><code>choices</code></strong> - a list or tuple of the choices to be displayed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="boolbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">boolbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Shall I continue?</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">choices</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Yes</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">No</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#boolbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Display a boolean msgbox.</p>
  <p>The default is the first choice.</p>
  <p>The returned value is calculated this way:</p>
<pre class="literalblock">
       if the first choice is chosen, or if the dialog is cancelled:
               returns 1
       else:
               returns 0
</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="indexbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">indexbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Shall I continue?</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">choices</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Yes</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">No</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#indexbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Display a buttonbox with the specified choices. Return the index of 
  the choice selected.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="buttonbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">buttonbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">choices</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">Button1</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Button2</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Button3</code><code class="variable-quote">'</code><code class="variable-group">)</code></span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">root</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#buttonbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Display a msg, a title, and a set of buttons. The buttons are defined 
  by the members of the choices list. Return the text of the button that 
  the user selected.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>msg</code></strong> - the msg to be displayed.</li>
        <li><strong class="pname"><code>title</code></strong> - the window title</li>
        <li><strong class="pname"><code>choices</code></strong> - a list or tuple of the choices to be displayed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="integerbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">integerbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">default</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">lowerbound</span>=<span class="sig-default">0</span>,
        <span class="sig-arg">upperbound</span>=<span class="sig-default">99</span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">root</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">**invalidKeywordArguments</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#integerbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Show a box in which a user can enter an integer.</p>
  <p>In addition to arguments for msg and title, this function accepts 
  integer arguments for &quot;default&quot;, &quot;lowerbound&quot;, and 
  &quot;upperbound&quot;.</p>
  <p>The default argument may be None.</p>
  <p>When the user enters some text, the text is checked to verify that it 
  can be converted to an integer between the lowerbound and upperbound.</p>
  <p>If it can be, the integer (not the text) is returned.</p>
  <p>If it cannot, then an error msg is displayed, and the integerbox is 
  redisplayed.</p>
  <p>If the user cancels the operation, None is returned.</p>
  <p>NOTE that the &quot;argLowerBound&quot; and &quot;argUpperBound&quot; 
  arguments are no longer supported.  They have been replaced by 
  &quot;upperbound&quot; and &quot;lowerbound&quot;.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="multenterbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">multenterbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Fill in values for the fields.</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">fields</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>,
        <span class="sig-arg">values</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#multenterbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Show screen with multiple data entry fields.</p>
  <p>If there are fewer values than names, the list of values is padded 
  with empty strings until the number of values is the same as the number 
  of names.</p>
  <p>If there are more values than names, the list of values is truncated 
  so that there are as many values as names.</p>
  <p>Returns a list of the values of the fields, or None if the user 
  cancels the operation.</p>
  <p>Here is some example code, that shows how values returned from 
  multenterbox can be checked for validity before they are accepted:</p>
<pre class="literalblock">
       ----------------------------------------------------------------------
       msg = &quot;Enter your personal information&quot;
       title = &quot;Credit Card Application&quot;
       fieldNames = [&quot;Name&quot;,&quot;Street Address&quot;,&quot;City&quot;,&quot;State&quot;,&quot;ZipCode&quot;]
       fieldValues = []  # we start with blanks for the values
       fieldValues = multenterbox(msg,title, fieldNames)

       # make sure that none of the fields was left blank
       while 1:
               if fieldValues == None: break
               errmsg = &quot;&quot;
               for i in range(len(fieldNames)):
                       if fieldValues[i].strip() == &quot;&quot;:
                               errmsg += ('&quot;%s&quot; is a required field.\n\n' % fieldNames[i])
               if errmsg == &quot;&quot;:
                       break # no problems found
               fieldValues = multenterbox(errmsg, title, fieldNames, fieldValues)

       writeln(&quot;Reply was: %s&quot; % str(fieldValues))
       ----------------------------------------------------------------------
</pre>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>msg</code></strong> - the msg to be displayed.</li>
        <li><strong class="pname"><code>title</code></strong> - the window title</li>
        <li><strong class="pname"><code>fields</code></strong> - a list of fieldnames.</li>
        <li><strong class="pname"><code>values</code></strong> - a list of field values</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="multpasswordbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">multpasswordbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Fill in values for the fields.</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">fields</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>,
        <span class="sig-arg">values</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#multpasswordbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Same interface as multenterbox.  But in multpassword box, the last of 
  the fields is assumed to be a password, and is masked with asterisks.</p>
  <h1 class="heading">Example</h1>
    <p>Here is some example code, that shows how values returned from 
    multpasswordbox can be checked for validity before they are 
    accepted:</p>
<pre class="literalblock">
       msg = &quot;Enter logon information&quot;
       title = &quot;Demo of multpasswordbox&quot;
       fieldNames = [&quot;Server ID&quot;, &quot;User ID&quot;, &quot;Password&quot;]
       fieldValues = []  # we start with blanks for the values
       fieldValues = multpasswordbox(msg,title, fieldNames)

       # make sure that none of the fields was left blank
       while 1:
               if fieldValues == None: break
               errmsg = &quot;&quot;
               for i in range(len(fieldNames)):
                       if fieldValues[i].strip() == &quot;&quot;:
                               errmsg = errmsg + ('&quot;%s&quot; is a required field.\n\n' % fieldNames[i])
                       if errmsg == &quot;&quot;: break # no problems found
               fieldValues = multpasswordbox(errmsg, title, fieldNames, fieldValues)

       writeln(&quot;Reply was: %s&quot; % str(fieldValues))
</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="enterbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">enterbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Enter something.</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">default</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">strip</span>=<span class="sig-default">True</span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">root</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#enterbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Show a box in which a user can enter some text.</p>
  <p>You may optionally specify some default text, which will appear in the
  enterbox when it is displayed.</p>
  <p>Returns the text that the user entered, or None if he cancels the 
  operation.</p>
  <p>By default, enterbox strips its result (i.e. removes leading and 
  trailing whitespace).  (If you want it not to strip, use keyword 
  argument: strip=False.) This makes it easier to test the results of the 
  call:</p>
<pre class="literalblock">
       reply = enterbox(....)
       if reply:
               ...
       else:
               ...
</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="passwordbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">passwordbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Enter your password.</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">default</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">root</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#passwordbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Show a box in which a user can enter a password. The text is masked 
  with asterisks, so the password is not displayed. Returns the text that 
  the user entered, or None if he cancels the operation.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="__fillablebox"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__fillablebox</span>(<span class="sig-arg">msg</span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">default</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">mask</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">image</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">root</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#__fillablebox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Show a box in which a user can enter some text. You may optionally 
  specify some default text, which will appear in the enterbox when it is 
  displayed. Returns the text that the user entered, or None if he cancels 
  the operation.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="multchoicebox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">multchoicebox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Pick as many items as you like.</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">choices</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>,
        <span class="sig-arg">**kwargs</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#multchoicebox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Present the user with a list of choices. allow him to select multiple 
  items and return them in a list. if the user doesn't choose anything from
  the list, return the empty list. return None if he cancelled 
  selection.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>msg</code></strong> - the msg to be displayed.</li>
        <li><strong class="pname"><code>title</code></strong> - the window title</li>
        <li><strong class="pname"><code>choices</code></strong> - a list or tuple of the choices to be displayed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="choicebox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">choicebox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">Pick something.</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">choices</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#choicebox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Present the user with a list of choices. return the choice that he 
  selects. return None if he cancels the selection selection.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>msg</code></strong> - the msg to be displayed.</li>
        <li><strong class="pname"><code>title</code></strong> - the window title</li>
        <li><strong class="pname"><code>choices</code></strong> - a list or tuple of the choices to be displayed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="exceptionbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">exceptionbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">title</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#exceptionbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Display a box that gives information about an exception that has just 
  been raised.</p>
  <p>The caller may optionally pass in a title for the window, or a msg to 
  accompany the error information.</p>
  <p>Note that you do not need to (and cannot) pass an exception object as 
  an argument.  The latest exception will automatically be used.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="codebox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">codebox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">text</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#codebox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Display some text in a monospaced font, with no line wrapping. This 
  function is suitable for displaying code and text that is formatted using
  spaces.</p>
  <p>The text parameter should be a string, or a list or tuple of lines to 
  be displayed in the textbox.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="textbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">textbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">title</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"> </code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">text</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">codebox</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#textbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Display some text in a proportional font with line wrapping at word 
  breaks. This function is suitable for displaying general written 
  text.</p>
  <p>The text parameter should be a string, or a list or tuple of lines to 
  be displayed in the textbox.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="diropenbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">diropenbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">title</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">default</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#diropenbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>A dialog to get a directory name. Note that the msg argument, if 
  specified, is ignored.</p>
  <p>Returns the name of a directory, or None if user chose to cancel.</p>
  <p>If the &quot;default&quot; argument specifies a directory name, and 
  that directory exists, then the dialog box will start with that 
  directory.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="fileopenbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">fileopenbox</span>(<span class="sig-arg">msg</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">title</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">default</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">*</code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">filetypes</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#fileopenbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>A dialog to get a file name.</p>
  <h1 class="heading">About the &quot;default&quot; argument</h1>
    <p>The &quot;default&quot; argument specifies a filepath that 
    (normally) contains one or more wildcards. fileopenbox will display 
    only files that match the default filepath. If omitted, defaults to 
    &quot;*&quot; (all files in the current directory).</p>
    <p>WINDOWS EXAMPLE:</p>
<pre class="literalblock">
       ...default=&quot;c:/myjunk/*.py&quot;
</pre>
    <p>will open in directory c:\myjunk\ and show all Python files.</p>
    <p>WINDOWS EXAMPLE:</p>
<pre class="literalblock">
       ...default=&quot;c:/myjunk/test*.py&quot;
</pre>
    <p>will open in directory c:\myjunk\ and show all Python files whose 
    names begin with &quot;test&quot;.</p>
    <p>Note that on Windows, fileopenbox automatically changes the path 
    separator to the Windows path separator (backslash).</p>
  <h1 class="heading">About the &quot;filetypes&quot; argument</h1>
    <p>If specified, it should contain a list of items, where each item is 
    either:</p>
<pre class="literalblock">
       - a string containing a filemask          # e.g. &quot;*.txt&quot;
       - a list of strings, where all of the strings except the last one
               are filemasks (each beginning with &quot;*.&quot;,
               such as &quot;*.txt&quot; for text files, &quot;*.py&quot; for Python files, etc.).
               and the last string contains a filetype description
</pre>
    <p>EXAMPLE:</p>
<pre class="literalblock">
       filetypes = [&quot;*.css&quot;, [&quot;*.htm&quot;, &quot;*.html&quot;, &quot;HTML files&quot;]  ]
</pre>
  <h1 class="heading">NOTE THAT</h1>
    <p>If the filetypes list does not contain (&quot;All 
    files&quot;,&quot;*&quot;), it will be added.</p>
    <p>If the filetypes list does not contain a filemask that includes the 
    extension of the &quot;default&quot; argument, it will be added. For 
    example, if     default=&quot;*abc.py&quot; and no filetypes argument 
    was specified, then &quot;*.py&quot; will automatically be added to the
    filetypes argument.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>msg</code></strong> - the msg to be displayed.</li>
        <li><strong class="pname"><code>title</code></strong> - the window title</li>
        <li><strong class="pname"><code>default</code></strong> - filepath with wildcards</li>
        <li><strong class="pname"><code>filetypes</code></strong> - filemasks that a user can choose, e.g. &quot;*.txt&quot;</li>
    </ul></dd>
    <dt>Returns: string or None</dt>
        <dd>the name of a file, or None if user chose to cancel</dd>
  </dl>
</td></tr></table>
</div>
<a name="filesavebox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">filesavebox</span>(<span class="sig-arg">msg</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">title</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">default</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">filetypes</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="easygui-pysrc.html#filesavebox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>A file to get the name of a file to save. Returns the name of a file, 
  or None if user chose to cancel.</p>
  <p>The &quot;default&quot; argument should contain a filename (i.e. the 
  current name of the file to be saved).  It may also be empty, or contain 
  a filemask that includes wildcards.</p>
  <p>The &quot;filetypes&quot; argument works like the 
  &quot;filetypes&quot; argument to fileopenbox.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== VARIABLES DETAILS ==================== -->
<a name="section-VariablesDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-VariablesDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="ImageErrorMsg"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">ImageErrorMsg</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-quote">'''</code><code class="variable-string"></code>
<code class="variable-string"></code>
<code class="variable-string">---------------------------------------------</code>
<code class="variable-string">Error: %s</code>
<code class="variable-string">%s</code><code class="variable-quote">'''</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="EASYGUI_ABOUT_INFORMATION"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">EASYGUI_ABOUT_INFORMATION</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-quote">'''</code><code class="variable-string"></code>
<code class="variable-string">======================================================================</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">==</code>
<code class="variable-string">0.96(2010-08-29)</code>
<code class="variable-string">======================================================================</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">==</code>
<code class="variable-string">This version fixes some problems with version independence.</code>
<code class="variable-string"></code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th bgcolor="#70b0f0" class="navbar-select"
          >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jan 02 19:19:38 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
